package com.Allen.mapper;

import com.Allen.Vo.PortalVo;
import com.Allen.pojo.Headline;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
* @author 86187
* @description 针对表【news_headline】的数据库操作Mapper
* @createDate 2023-12-09 23:29:16
* @Entity com.Allen.pojo.Headline
*/

@Mapper
public interface HeadlineMapper extends BaseMapper<Headline> {

    //自定义分页查询方法
    IPage<Map> selectPageMap(IPage<Headline> page,
                             @Param("portalVo") PortalVo portalVo);

    Map queryDetailMap(Integer hid);
}




